package com.zlx.mall.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.Instant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品收货信息
 * </p>
 *
 * @author xiatian
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("`sc_goods_order_receive_info`")
public class ScGoodsOrderReceiveInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /** PK,AI */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Long id;
    /** 订单号 */
    @TableField("`order_no`")
    private String orderNo;
    /** 收件人 */
    @TableField("`consignee`")
    private String consignee;
    /** 收件人手机号(脱敏) */
    @TableField("`consignee_mobile_mask`")
    private String consigneeMobileMask;
    /** 收件人手机号(加密) */
    @TableField("`consignee_mobile_encrypt`")
    private String consigneeMobileEncrypt;
    /** 收件人手机号(md5) */
    @TableField("`consignee_mobile_md5`")
    private String consigneeMobileMd5;
    /** 省 */
    @TableField("`address`")
    private String address;
    /** 详细地址 */
    @TableField("`detail_address`")
    private String detailAddress;
    /** 删除状态 {0-exist !0-deleted} */
    @TableField("`is_delete`")
    private Long isDelete;
    /** 创建时间 */
    @TableField("`create_timestamp`")
    private Instant createTimestamp;
    /** 修改时间 */
    @TableField("`modify_timestamp`")
    private Instant modifyTimestamp;
    /** 创建人id */
    @TableField("`create_operator_id`")
    private Long createOperatorId;
    /** 修改人id */
    @TableField("`modify_operator_id`")
    private Long modifyOperatorId;

    /** PK,AI */
    public static final String ID = "id";
    /** 订单号 */
    public static final String ORDER_NO = "order_no";
    /** 收件人 */
    public static final String CONSIGNEE = "consignee";
    /** 收件人手机号(脱敏) */
    public static final String CONSIGNEE_MOBILE_MASK = "consignee_mobile_mask";
    /** 收件人手机号(加密) */
    public static final String CONSIGNEE_MOBILE_ENCRYPT = "consignee_mobile_encrypt";
    /** 收件人手机号(md5) */
    public static final String CONSIGNEE_MOBILE_MD5 = "consignee_mobile_md5";
    /** 省 */
    public static final String ADDRESS = "address";
    /** 详细地址 */
    public static final String DETAIL_ADDRESS = "detail_address";
    /** 删除状态 {0-exist !0-deleted} */
    public static final String IS_DELETE = "is_delete";
    /** 创建时间 */
    public static final String CREATE_TIMESTAMP = "create_timestamp";
    /** 修改时间 */
    public static final String MODIFY_TIMESTAMP = "modify_timestamp";
    /** 创建人id */
    public static final String CREATE_OPERATOR_ID = "create_operator_id";
    /** 修改人id */
    public static final String MODIFY_OPERATOR_ID = "modify_operator_id";
}
